using System;
using System.Xml.Serialization;

namespace RTMBindings.Responses
{
    public class RTMNote
    {
        [XmlAttribute("id")]
        public int Id { get; set; }

        [XmlAttribute("created")]
        public DateTime Created { get; set; }

        [XmlAttribute("modified")]
        public DateTime? Modified { get; set; }

        [XmlAttribute("title")]
        public string Title { get; set; }

        [XmlText]
        public string Body { get; set; }
    }
}